package com.caigou.mapper.empire;

import com.caigou.bean.empire.entity.EmpireSyncArticleData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository("empireDataSyncMapper")
public interface EmpireDataSyncMapper {
    List<EmpireSyncArticleData> loadEmpireSyncArticleDataByPlate1(@Param("lastTime") Long lastTime, @Param("syncTime") Long syncTime, @Param("limit") Integer limit);

    List<EmpireSyncArticleData> loadEmpireSyncArticleDataByPlate2(@Param("lastTime") Long lastTime, @Param("syncTime") Long syncTime, @Param("limit") Integer limit);

    EmpireSyncArticleData loadEmpireSyncArticleDataById(@Param("id") Integer id);
}
